package com.dongdong.android.tangramdemo.utils;

import android.content.Context;
import android.content.res.AssetManager;
import android.text.TextUtils;
import android.util.Base64;

import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;

/**
 * Created by dongdongzheng on 2018/11/14.
 */

public class JSONutils {

    public static byte[] getBase64(String card) {
        if (TextUtils.isEmpty(card)) {
            return null;
        }
        return Base64.decode(card, Base64.DEFAULT);
    }

}
